projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bf0da0
)
(woman-parse-colon-path): Return a list even if there's only one directory
author
Eli Zaretskii
<eliz@gnu.org>
Sat, 7 Mar 2009 14:36:36 +0000
(14:36 +0000)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 7 Mar 2009 14:36:36 +0000
(14:36 +0000)
in PATHS.
lisp/ChangeLog
patch
|
blob
|
history
lisp/woman.el
patch
|
blob
|
history
diff --git
a/lisp/ChangeLog
b/lisp/ChangeLog
index 4e0a1344bd1b25e9e3a419f47046c25c1d9fc258..4a73baf726057337bbda284cc4b196d67f883acf 100644
(file)
--- a/
lisp/ChangeLog
+++ b/
lisp/ChangeLog
@@
-1,5
+1,8
@@
2009-03-07 Eli Zaretskii <eliz@gnu.org>
+ * woman.el (woman-parse-colon-path): Return a list even if there's
+ only one directory in PATHS.
+
* man.el (Man-init-defvars) [windows-nt]: Use a special command
list. Don't invoke Awk.
diff --git
a/lisp/woman.el
b/lisp/woman.el
index d739f64bf069747cb118b8fff45392d826a2b836..5fbb5ef6fdb6c622a78b35c4bdd798c5deba93c4 100644
(file)
--- a/
lisp/woman.el
+++ b/
lisp/woman.el
@@
-468,7
+468,7
@@
As a special case, if PATHS is nil then replace it by calling
(parse-colon-path paths)))
((string-match "\\`[a-zA-Z]:" paths)
;; Assume single DOS-style path...
-
paths
)
+
(list paths)
)
(t
;; Assume UNIX/Cygwin-style path-list...
(woman-mapcan ; splice list into list